package com.wolf.service;

import com.wolf.pojo.WlSellerExample;
import com.wolf.pojo.Wl_seller;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Wl_sellerService {
    int countByExample(WlSellerExample example);

    int deleteByExample(WlSellerExample example);

    int deleteByPrimaryKey(String id);

    int insert(Wl_seller record);

    int insertSelective(Wl_seller record);

    List<Wl_seller> selectByExample(WlSellerExample example);

    Wl_seller selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Wl_seller record, @Param("example") WlSellerExample example);

    int updateByExample(@Param("record") Wl_seller record, @Param("example") WlSellerExample example);

    int updateByPrimaryKeySelective(Wl_seller record);

    int updateByPrimaryKey(Wl_seller record);

    //查询所有
    List<Wl_seller> getall();

    int updateStatus(@Param("id") String id,@Param("status") String status);

    //模糊查询
    List<Wl_seller> fuzzQuery(@Param("a") String name,@Param("b") String status);
}